<template>
	<view class="container">
		<video id="myVideo" class="videoInfo" controls :src="videoUrl"></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				videoUrl: ""
			};

		},
		onLoad(option) {
			console.log(option.url);
			this.videoUrl = option.url;

		}
	}
</script>

<style lang="scss">
	page {
		height: 100%
	}

	.container {
		background-color: #10ee5a6c;
		padding: 0rpx;
		height: 100%;
		width: 100%;
	}

	.videoInfo {
		margin-top: 0rpx;
		width: 100%;
		height: 1400rpx;
	}
</style>
